﻿/*
 * KRPCHostFactory
 * 
 * Author: snowdreamist
 * Date: 2011/11/24
 * 
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BitTorrentSharp.KRPC
{
    /// <summary>
    /// KRPC Host Factory
    /// </summary>
    public class KRPCHostFactory
    {
        /// <summary>
        /// Create KRPC Host according to KRPC configuration
        /// </summary>
        /// <param name="config">KRPC configuration</param>
        /// <returns>KRPC host</returns>
        public KRPCHost CreateHost(KRPCConfigurationElement config)
        {
            throw new NotImplementedException();
        }
        /// <summary>
        /// Create KRPC Host with least parameters
        /// </summary>
        /// <param name="port">KRPC listening port</param>
        /// <param name="contractTypes">KRPC contracts</param>
        /// <returns>KRPC host</returns>
        public KRPCHost CreateHost(int port, Type[] contractTypes)
        {
            throw new NotImplementedException();
        }
    }
}
